#!/bin/bash
sh_folder=$(cd "$(dirname $0)"; pwd -P)
folder_name=$(basename $sh_folder) 

CXX=arm-linux-gnueabihf-g++
[ -n "$CROSS_COMPILER_PREFIX" ] && CXX=$CROSS_COMPILER_PREFIX/$CXX

[ ! $($CXX -dumpmachine) ] \
    && echo "not install compiler arm-linux-gnueabihf-g++,install please:" \
    && echo "sudo apt-get install g++-arm-linux-gnueabihf" \
    && echo "sudo apt-get install gcc-arm-linux-gnueabihf" \
    && exit 255

conan create . -pr:h  $sh_folder/conan/profiles/armhf-linux-gnueabihf.jinja \
	-pr:b default \
	-o output_debug_log=True



